<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="../common/default.jsp"%>
<meta name="keywords" content="图片SNS社区,视频SNS社区,音乐SNS社区,个性化圈子,个性化视频,问题发现,问题推荐,问题分享,热点视频,精彩图片,最好音乐" />
<meta name="description" content='<s:property value="query.question"/>'>
<title><s:property value="query.question"/></title>
<link rel="stylesheet" type="text/css" href="/css/home.css" />
<link type="text/css" rel="stylesheet" href="/css/stream.css" />
<link type="text/css" rel="stylesheet" href="/css/detail.css" />
<script type="text/javascript" src="/js/home.js"></script>
<script type="text/javascript" src="/js/personal/myHome.js"></script>
<script type="text/javascript">
var jiathis_config;
	$(function() {
		jiathis_config = {
				appkey:{"tsina":"4104208118"},
				data_track_clickback:true,
				pic:$(".detailImg img").attr("src")
				};
		popPub($("#container a").not(".pageA").not(".y6-ownerPho").not(".ownerPho").not(".ownerName").not(".y6-ownerName").not("#jiathis_style_32x32 a"),$('#pop_login'),$('#pop_login h3 a'));
	});
</script>
<title>优问-随时随地分享点评</title>
</head>
<body>
	<%@include file="../common/noLoginHead.jsp"%>
	<div id="container">
		<div id="detailDiv" class="yoask" askId='<s:property value="query.id"/>'>
			<div id="ask_<s:property value="query.id"/>" class="detailLeft">
				<!--投票和喜欢的人-->
				<div class="detailHead">
					<div class="prevNext">
						<s:if test="askList!=null&&askList.size>0">
							<a class="pageA" href='http://www.yoasking.com/a/<s:property value="askList[0].id" />'>上一个</a> 
						</s:if>
						<s:if test="askList!=null&&askList.size>1">
							<a class="pageA" href='http://www.yoasking.com/a/<s:property value="askList[1].id" />'>下一个</a>
						</s:if>
					</div>
					<div class="likeVote">
						<ul class="cur">
							<li class="cur">
								<span><s:property value="query.likeCount" /></span>
								<a href="###">个人喜欢</a>
							</li>
							<li><a href="###" id="whoAnsLikeA">看看谁投票啦</a><span></span></li>
						</ul>
					</div>
					<div class="whoLikeAans">
						<div class="whoAans"></div>
						<div class="whoLike"></div>
					</div>
					<div class="clear"></div>
				</div>
				<!--ask内容-->
				<h2><s:property value="query.question"/></h2>
				<!--answer列表-->
				<div class="stream-answer-area">
					<div class="stream-answer-inner">
						<div class="stream-status-undefined">
							<ul class="stream-options">
								<s:iterator id="answer" value="query.answerList">
										<li>
											<a class="stream-vote-trigger" href="###" answerId="<s:property value="#answer.id"/>">
												<span class="stream-option-text"><s:property value="#answer.answerBody"/></span>
												<span class="stream-option-bar-container">
													<span class="stream-option-bar" style="width: 20%;">投票</span>
												</span>
											</a>
										</li>
								</s:iterator>
							</ul>
						</div>
					</div>
				</div>
				<!--ask的评论列表-->
				<div class="askDiss">
					<s:iterator id="comment" value="query.commentList">
					 <dl class="askDissDl askDissDlHover">
				          <dt>
				          	<a href="http://www.yoasking.com/user/<s:property value="#comment.userId"/>" class="ownerPho"><img src='<s:property value="#comment.avatarPath"/>' /></a>
				          </dt>
				          <dd>
				          	<a href="###" class="gray font10 disDitto">同感</a>
				          	<a href="http://www.yoasking.com/user/<s:property value="#comment.userId"/>" class="ownerName"><s:property value="#comment.loginName}"/></a>
				          </dd>
				          <dd class="dissDetail"><s:property value="#comment.commentBody" escape="false"/></dd>
				          <dd class="dissFun"> 
				          	<a class="disReplay gray font10" href="###">回复</a>
				            <span class="disTime gray font10"><s:property value="#comment.historyInfo"/></span> 
				          </dd>
				        </dl>
					</s:iterator>
				</div>
			</div>
			<div class="detailRight">
				<div class="askImgMess">
					<div class="detailImg">
						<img src='<s:property value="query.picPath"/>!detail' />
					</div>
					<div class="y6-context-description">
						<!-- JiaThis Button BEGIN -->
							<script type="text/javascript">
								//var summary = $(".yoask h2").text();
								var pic=$(".detailImg img").attr("src");
								var jiathis_config = {data_track_clickback:'true',
										pic:pic,appkey:{"tsina":"4104208118","tqq":"100278672"}};
							</script>
							<script type="text/javascript" src="http://v3.jiathis.com/code/jiathis_r.js?btn=r1.gif&amp;uid=1609074" charset="utf-8"></script>
						<!-- JiaThis Button END -->
					</div>
				</div>
				<dl class="y6-owner">
					<dt>
						<a href="http://www.yoasking.com/user/<s:property value="query.userId"/>" class="y6-ownerPho"><img src='<s:property value="query.avatarPath"/>' /></a>
					</dt>
					<dd>
						<a href="http://www.yoasking.com/user/<s:property value="query.userId"/>" class="y6-ownerName"><s:property value="query.userName"/></a>
						对这图片发起了问问
					</dd>
					<dd class=" font10 gray y6-time"><s:property value="query.historyInfo"/></dd>
				</dl>
			</div>
			<div class="clear"></div>
			<!-- 热门开始 -->
			<s:if test="todayHot.size > 4">
			<div>
				<div >
					<h3>
                		<a href="http://guang.com/pinpai" target="_blank">热门问问</a>
            		</h3>
				</div>
				<ul>
					<s:iterator id="hotAsk" value="todayHot">
						<li style="display:inline">
							<a  href="/a/${hotAsk.id}" title="${hotAsk.question}" target="_blank">
								<img src="${hotAsk.picPath}!small" alt="${hotAsk.question}" border="0" width="191px" height="180px"/>
							</a>
						</li>
					</s:iterator>
				</ul>
			</div>
			</s:if>
			<!-- 热门结束 -->
		</div>
	</div>
<%@include file="../common/loginDiv.jsp"%>
<%@include file="../common/registerDiv.jsp"%>
<%@include file="../common/tipDiv.jsp"%>
<%@include file="../common/footer.jsp"%>
</body>
</html>